﻿<!-- 
=====================================================================
  This file is part of a Microsoft SQL Server Shared Source Application.
  Copyright (C) Microsoft Corporation.  All rights reserved.
 
THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.
======================================================= 
-->
<!-- This dialog is used to let the user know about any unsaved changes and allow them to take appropriate action. -->
<Window x:Class="Microsoft.SqlCommunity.FaultRetry.SaveChangesDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Save Changes" Height="251" Width="620" Loaded="Window_Loaded">
    <Grid Background="{StaticResource DialogBackgroundBrush}">
        <Label Style="{StaticResource HeadingStyle}" Margin="171,59,181,0" Name="TitleLabel" Height="37" VerticalAlignment="Top">There are unsaved changes</Label>
        <Button HorizontalAlignment="Left" Margin="97,0,0,31" Name="SaveButton" VerticalAlignment="Bottom" Width="75" IsDefault="True">Save</Button>
        <Button Margin="250,0,259,31" Name="DiscardButton" VerticalAlignment="Bottom" Width="89" Height="28" Click="DiscardButton_Click">Discard</Button>
        <Button HorizontalAlignment="Right" Margin="0,0,101,31" Name="CancelButton" VerticalAlignment="Bottom" Width="83" Height="28" Click="CancelButton_Click">Cancel</Button>
    </Grid>
</Window>
